Skip to content

fix: align avatar-live model name and path with backend#34

Merged
AdirAmsalem merged 1 commit intomainfrom
fix/avatar-live-model-name
Mar 5, 2026
Merged

fix: align avatar-live model name and path with backend#34
AdirAmsalem merged 1 commit intomainfrom
fix/avatar-live-model-name

Conversation

@AdirAmsalem
Copy link
Contributor

The Python SDK used model name avatar-live with path /v1/avatar-live/stream, but the backend registers the model as live_avatar and serves all realtime models on /v1/stream (model passed as query param). This caused 404 errors for users.

Changes:

  • Rename model from avatar-live to live_avatar (matches backend + JS SDK)
  • Change url_path from /v1/avatar-live/stream to /v1/stream (matches backend)
  • Update RealTimeModels type, example, playground, and tests

⚠️ Breaking change: models.realtime("avatar-live")models.realtime("live_avatar")

The Python SDK used model name 'avatar-live' with path '/v1/avatar-live/stream',
but the backend registers the model as 'live_avatar' and serves all realtime
models on '/v1/stream' (model passed as query param).

This mismatch caused 404 errors for Python SDK users trying to use Avatar Live.

Changes:
- Rename model from 'avatar-live' to 'live_avatar' (matches backend + JS SDK)
- Change url_path from '/v1/avatar-live/stream' to '/v1/stream' (matches backend)
- Update RealTimeModels type, example, playground, and tests accordingly
@AdirAmsalem AdirAmsalem merged commit 47cc7ee into main Mar 5, 2026
8 checks passed
@AdirAmsalem AdirAmsalem deleted the fix/avatar-live-model-name branch March 5, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant